// TOWN DIALOGUE SCRIPT
//    Town 104: Lair of Athron

begintalkscript;

variables;

short i,j,k,r1,choice;


begintalknode;
	tag = 1;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "Athron's hatchlings slither around the cave, looking for food. It sniffs at you curiously. If you don't keep your distance, it will probably try to eat you.";

begintalknode;
	tag = 2;
	state = -1;
	nextstate = -1;
	condition = 1;
	text1 = "Athron has used its raw power to bind infernals to guard her and her hoard. They watch you silently as you pass. The dragon's magic is so strong that they can't move anything but their eyeballs.";
	
// Athron

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 1;
	question = "Athron";
	text1 = "You stand before Athron, a legendary beast. There are many tales of her, most of them surely lies. She is renowned for her reclusiveness, and the brutal fates she visits on those who disturb it.";
	text2 = "She is dark gray green, eighty feet from tip to tail, and radiates raw magical power. She looks undecided about whether to kill you. She snorts a long jet of flame and says, _I am Athron. Speak fast, little morsel._";
	text5 = "Athron says, in a voice tired and worn, _What more do you want, Avernite, before you leave me to my seclusion?_";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = 2;
	condition = gf(104,11) == 0;
	question = "_May I speak with you for a short time?_";
	text1 = "She idly gouges the floor with a claw two feet long. _Why not? Twice before, I assisted adventurers despite my better judgment. And when I did, in the end, I was the better for it._";
	text2 = "_Speak, but do not waste my time._";
	action = SET_SDF 104 11 1;

begintalknode;
	state = 1;
	nextstate = 3;
	condition = gf(104,11) > 0;
	question = "_Tell me about your brood._";
	text1 = "_I am the first of my kind in a century to have children. I will do anything to protect them from the threats that face them. No matter what my siblings want._";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_I hope your brood prospers._";
	text1 = "Athron is an alien creature to you, centuries old, incredibly powerful, implacably reptilian.";
	text2 = "Yet, in her face, you can still recognize that most basic of emotions: the pure, single-minded pride and protectiveness of motherhood.";

begintalknode;
	state = 3;
	nextstate = 9;
	question = "_Why haven't there been little dragons for a century?_";
	text1 = "She smolders with anger, fortunately not directed at you. _The Empire hunted and slew most of my kind. Few of those left are capable of breeding anymore. In my brood resides the hopes of our race._";

begintalknode;
	state = 3;
	nextstate = 4;
	question = "_What do your siblings want?_";
	text1 = "She snorts. _My siblings, Khoth and Sulfras, wish to do battle. I wish for our people to survive. My desires are more important._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What do you think of Khoth?_";
	text1 = "_He is the most learned of our kind, but the Empire humans forced him to aid them in the war with your people. The hatred that came from that overpowers his mind._";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_What do you think of Sulfras?_";
	text1 = "_Her strength amazes even me. The power of her muscles and her magic could rock this world. Yet the Empire humans tricked and subdued her with stronger magic. Now that Garzahd is dead, however, none exist who can tame her._";

begintalknode;
	state = 4;
	nextstate = 5;
	question = "_Why do your siblings want to fight?_";
	text1 = "_The Empire captured them both and used them against Avernum. They will not admit this to you, but it drives them to get revenge. I do not believe their revenge has begun yet, but it will bring doom upon us for sure._";
	text2 = "_We have enough trouble with the alien beasts._";

begintalknode;
	state = 5;
	nextstate = 6;
	question = "_Tell me about the alien beasts._";
	text1 = "She growls. _They are pests, and none can control them. That is what Sulfras and Khoth say, anyway. They cannot eliminate them, even with their great wisdom and strength. They wish them slain._";
	text2 = "_In this, they are wise. I will assist them in this quest. Once again, I will give you humans help against your foes._";

begintalknode;
	state = 6;
	nextstate = -1;
	question = "_How will you help humans?_";
	text1 = "_The alien beasts are malevolent and sly. I can slay them, but I fear they may still sneak in and take my broodlings. In the middle chest nearby, you can find metal which may make a weapon to kill them. That is all the help I can give._";
	text3 = "_You took the metal. That is all the help I can give you. Good luck to you. I have little but contempt for humans, but you are the best of a wormy, weak lot._";
	action = DEP_ON_SDF 104 3 0;


begintalknode;
	state = 1;
	nextstate = 8;
	condition = gf(104,11) > 0;
	question = "_What do you think of the Empire?_";
	text1 = "_The Empire is the great enemy, but they must be treated cautiously. At least foul Garzahd was slain by a few ingenious Avernites. That is all I have to say on the subject._";

begintalknode;
	state = 8;
	nextstate = -1;
	question = "_Who was Garzahd?_";
	text1 = "_A human wizard, whose magic could almost equal that of a dragon. He tricked and ensnared Sulfras. A band of Avernites killed him in their war._";
	text2 = "_Humans are weak and pitiful, of course, but I must admit that the small band who slew Garzahd had a certain strength in them._";

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(104,11) > 0;
	question = "_Can you teach me anything about magic?_";
	text1 = "Athron snorts. _My magic is pure. It comes from within me. It can't be taught. Ask Khoth. He is the one who deals with trivia._";

begintalknode;
	state = 1;
	nextstate = 10;
	condition = gf(104,11) > 0;
	question = "_How many of your kind still exist?_";
	text1 = "_I do not know. Many of us hide, avoiding the blades and magic of the Empire. I had four siblings. Now I have two. Pyrog and Motrax are gone._";

begintalknode;
	state = 10;
	nextstate = -1;
	question = "_Who was Motrax?_";
	text1 = "_A kind, old fool, without pride or dignity. He became the humans' pet, until the Empire slew him. A mercy killing._";

begintalknode;
	state = 10;
	nextstate = -1;
	question = "_Who was Pyrog?_";
	text1 = "_A fool. He picked fights with the humans, but he didn't maintain defenses sufficient to fend them off. Good riddance._";

begintalknode;
	state = 1;
	nextstate = 15;
	condition = gf(104,11) > 0;
	question = "_Did you create the monster plagues?_";
	text1 = "Athron is wary. _I wish we had. The Empire must pay for what it did to us. However, we dragons are innocent. You need to go away now. I will not tolerate accusations. That is what will draw human hunters to my lair._";
	text2 = "As Athron speaks, the chamber goes warmer. The possibility of even being accused of this crime upsets her.";
	
begintalknode;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "_All right. Never mind._";
	text1 = "_Yes. Go. Do not mention this possibility to me again._";
	action = END_TALK;

begintalknode;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "_I believe you are responsible._";
	text1 = "Athron rears up and begin to shout. Flames come out of her mouth as she rants at you, _No! Pyrog drew the hate of the humans. So did Motrax. They died for it. I won't allow you to draw invaders to my hatchlings! I will not! Sulfras was wrong. It can't be allowed!_";
	action = END_TALK;
		code =
			make_zone_hostile();
	break;
	
begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(104,11) > 0;
	question = "_That is all I have to say._";
	text1 = "Athron says, _I excuse you to go. Keep your distance from my hatchlings as you go._";
	action = END_TALK;
